From: msizanoen1 Date: Mon, 29 Aug 2022 14:53:33 +0000 (+0700) Subject: Revert "shell: Fix pixbuf reference leak saving screenshots" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~452^2^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2d589ec36502914fd1791046b1235e6bff91d7e6;p=gnome-shell.git Revert "shell: Fix pixbuf reference leak saving screenshots" This reverts commit f5754adb681d55e985147b56de9c2b30c8cbc9f1 in accordance with https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2449#note_1539435. Part-of: --- diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c index c173dd5d8..fcf2da236 100644 --- a/src/shell-screenshot.c +++ b/src/shell-screenshot.c @@ -1061,7 +1061,6 @@ composite_to_stream_on_png_saved (GObject *pixbuf, else g_task_return_pointer (task, g_object_ref (pixbuf), g_object_unref); - g_object_unref (pixbuf); g_object_unref (task); }